#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
#include "BStree.h"

void TestBSTree()
{
	int a[] = { 8, 3, 1, 10, 6, 4, 7, 14, 13 };
	BSTree<int> t;


	for (auto e : a)
	{
		t.Insert(e);
	}
	
	cout << t.Find(8)->_key << endl;
	cout << t.Find(10)->_key << endl;
	t.InOrder();

}
int main()
{
	TestBSTree();
	return 0;
}